using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Media3D;
using System.Windows;

namespace _3DHouse.CustomControl
{
    /// <summary>
    /// 用来创建声音报警显示对象
    /// </summary>
    public class Voice: ModelVisual3D
    {
        public  Voice()
        {
        }
        /// <summary>
        /// 获得报警显示对象
        /// </summary>
        /// <returns></returns>
        public static Voice GetVoice()
        {
            Voice voice = new Voice();
            GeometryModel3D geometry = (GeometryModel3D)Application.Current.Resources["voice"];//读取资源           
            voice.Content = geometry;
            return voice;
        }
    }
}
